<?php
namespace app\index\controller;





use think\Request;

class Index extends \think\Controller
{
    public function index()
    {
        $r=Request::instance();

     /*
      if($r->isAjax()){

          dump(33);

      }else{

          dump(2);
          dump($r);
      }*/

     //echo url('index/index/newslist',"id=1&name=2",false);
     //echo "<br/>";
     //echo url('index/index/news',"id=333");
      echo 404;


    }

    public function news(){
        $r=Request::instance();
         dump(input());


    }

    public function indexlist()
    {

      return view();
    }
}
